home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Over 1,000 Windows 95 Programs
/
Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso
/
0186
/
vb.zip
/
TOGMDI.FRM
< prev
next >
Wrap
Text File
|
1996-01-17
|
2KB
|
101 lines
VERSION 2.00
Begin MDIForm TOGMDI
Caption = "Toggle Custom Control VBX"
ClientHeight = 4470
ClientLeft = 1830
ClientTop = 2865
ClientWidth = 7245
Height = 5160
Icon = TOGMDI.FRX:0000
Left = 1770
LinkTopic = "MDIForm1"
Top = 2235
Width = 7365
WindowState = 2 'Maximized
Begin Menu mnu
Caption = "&Demos"
Index = 0
Begin Menu demo
Caption = "&Colors/Text"
Index = 0
End
Begin Menu demo
Caption = "&Bitmaps/Timers"
Index = 1
End
Begin Menu demo
Caption = "-"
Index = 2
End
Begin Menu demo
Caption = "&Examples"
Index = 3
End
End
Begin Menu mnu
Caption = "&Help"
Index = 1
Begin Menu help
Caption = "&About Toggle"
Index = 0
End
Begin Menu help
Caption = "&Toggle Help"
Index = 1
Shortcut = {F1}
End
Begin Menu help
Caption = "All GMS Controls"
Index = 2
End
End
Begin Menu mnu
Caption = "&Order"
Index = 2
End
Begin Menu mnu
Caption = "E&xit"
Index = 3
End
End
Sub demo_Click (index As Integer)
Select Case index
Case 0 'colors
togcolor.Show
Case 1 'bitmaps
togbitmaps.Show
Case 3 'samples
Examples.Show
End Select
End Sub
Sub help_Click (index As Integer)
Select Case index
Case 0 'about
about.Show
Case 1 'control
i = Shell("WINHELP toggle.hlp", 1)
Case 2 'library
i = Shell("WINHELP instrmlb.hlp", 1)
End Select
End Sub
Sub MDIForm_Load ()
about.Show
End Sub
Sub mnu_Click (index As Integer)
If index = 2 Then i = Shell("WINHELP order.hlp", 1)
If index = 3 Then End
End Sub